package com.sunlg.smarthome.contract;

import com.sunlg.smarthome.base.IBasePresenter;
import com.sunlg.smarthome.base.IBaseView;
import com.sunlg.smarthome.data.entity.SecurityWarning;

import java.util.List;

/**
 * Created by sunlg on 2017/5/29.
 */

public interface SecurityWarningContract {
    interface View extends IBaseView{
        void loadSecurityWarningSuccess(List<SecurityWarning> warnings);
    }

    interface Presenter extends IBasePresenter<View>{
        void loadAllSecurityWarning();
    }
}
